/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.xcxAdmin.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.JoinTable;
import com.jeesite.common.mybatis.annotation.JoinTable.Type;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;
import com.jeesite.modules.xcxAdmin.entity.ZtAdmin;

/**
 * 粉丝
 * 
 * @author ThinkGem
 * @version 2018-04-22
 */
@Table(name = "zt_goodsqcode", alias = "a", columns = {
		@Column(name = "bid", attrName = "bid", label = "编号"),
		@Column(name = "type", attrName = "type", label = "编号"),
		@Column(name = "adminid", attrName = "adminid", label = "小程序用户id"),
		@Column(name = "img", attrName = "img", label = "图片"),
		@Column(name = "goodsid", attrName = "goodsid", label = "商品id"),
		@Column(name = "status", attrName = "status", label = "状态"),
	
		@Column(name = "create_date", attrName = "createDate", label = "创建时间"),

}, orderBy = "a.create_date DESC")
public class ZtGoodsqcode extends DataEntity<ZtGoodsqcode> {

	private static final long serialVersionUID = 1L;
	
	private long bid;
	
	private String adminid;//粉丝用户
	private String status;
	private Integer type;//0是详情     1是首页  
	
	private String goodsid;
	private String img;
	
	@JsonIgnore
	private Date createDate;
	@JsonIgnore
	private String updateBy;
	@JsonIgnore
	private String createBy;
	@JsonIgnore
	private Date updateDate;
	
	
	
	
	public long getBid() {
		return bid;
	}
	public void setBid(long bid) {
		this.bid = bid;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getAdminid() {
		return adminid;
	}
	public void setAdminid(String adminid) {
		this.adminid = adminid;
	}
	public String getGoodsid() {
		return goodsid;
	}
	public void setGoodsid(String goodsid) {
		this.goodsid = goodsid;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	@JsonIgnore
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	

}